<script>
export default {
  onLaunch: function() {
    console.log('App Launch - 记账本应用启动');
  },
  onShow: function() {
    console.log('App Show');
  },
  onHide: function() {
    console.log('App Hide');
  }
}
</script>

<style>
/* 全局样式 */
page {
  background-color: #f5f5f5;
  font-size: 28rpx;
  line-height: 1.6;
}

.container {
  padding: 20rpx;
}

.card {
  background-color: #fff;
  border-radius: 10rpx;
  padding: 20rpx;
  margin-bottom: 20rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

/* 按钮样式 */
.btn-primary {
  background-color: #1aad19;
  color: #fff;
  border-radius: 8rpx;
  padding: 20rpx;
  text-align: center;
}

/* 文本颜色 */
.text-gray { color: #999; }
.text-primary { color: #1aad19; }
.text-danger { color: #e64340; }

/* Flex布局 */
.flex { display: flex; }
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>



